package com.haozi.watchtomato.service;

import com.github.pagehelper.PageInfo;
import com.haozi.watchtomato.dto.TomatoDto;
import com.haozi.watchtomato.model.TomatoModel;

/**
 * @author haozi
 * @date 2024/01/24
 */
public interface ITomatoService {

    PageInfo<TomatoDto> queryTomatoList(TomatoModel model);

    int save(TomatoModel model);

    int update(TomatoModel model);

    int delete(Integer id);

}
